package com.lagou.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created by seemygo on 2021/1/21.
 */
@Configuration
@ConfigurationProperties(prefix = "zk")
public class ServerConfigUtil {
    private String zkServerUrl;

    private String zkRootPath;

    public String getZkServerUrl() {
        return zkServerUrl;
    }

    public void setZkServerUrl(String zkServerUrl) {
        this.zkServerUrl = zkServerUrl;
    }

    public String getZkRootPath() {
        return zkRootPath;
    }

    public void setZkRootPath(String zkRootPath) {
        this.zkRootPath = zkRootPath;
    }
}
